@evergis/icons
Install
npm i @evergis/icons
yarn add @evergis/icons
Icons Generation
- Add or update fonts in
fonts
folder. - run
yarn generate
. - add custom icon hook in
src/hooks
folder. - add base font icon component in `src/components' folder;
Usage
import { EverCloudArrowIcon } from '@evergis/icons';
const IconApp = () => <EverCloudArrowIcon />;
import { EverCloudIcon, EverCloudIconKind } from '@evergis/icons';
const IconApp = () => <EverCloudIcon>{EverCloudIconKind.Arrow}</EverCloudIcon>;
TODO
- Need support imports like
import {SomeIcon} from @evergis/icons/MyFontIcons
;